My name is YourFirstName YourLastName
Hello
Hello Hello
Hello
Hello Hello
Hello Hello
Hello
Bye
2. Copy or cut and paste the following program into a file, save the file as PS2.cpp, and then compile the program. You will get some syntax errors, pay attention to type of error you will get and the line number in which the error has occurred. Fix them one-by-one or as many as you can in each try, compile it until there is no more error in the program. Run the program and make sure it produces an output.
include<iostream.h>
int main( )
}
cout < "This is the
second program of the post_lab. \n";
cout << "There
were some syntax errors in it that I fix them. \n';
count >> "Syntax errors
are due to the violation of the grammar of C++ \n"
return0;
}